class Purchase < ActiveRecord::Base
  belongs_to :payment_method
  belongs_to :delivery_address, :class_name => 'Address'
  belongs_to :status
  has_many :purchase_items
  attr_accessible :client_id, :payment_method, :delivery_address, :status, :purchase_items
end
